package it.basilikos.core.util;


 

public class Condition{
	
	enum ConditionRelation {EQUALS,NOT_EQUALS}
	
	private String property;
	private Object values;
	private ConditionRelation relation;
	
	
	public Condition(String property, Object values, ConditionRelation relation) {
		super();
		this.property = property;
		this.values = values;
		this.relation = relation;
	}


	public String getProperty() {
		return property;
	}


	public Object getValues() {
		return values;
	}


	public ConditionRelation getRelation() {
		return relation;
	}


	public void setProperty(String property) {
		this.property = property;
	}


	public void setValues(Object values) {
		this.values = values;
	}


	public void setRelation(ConditionRelation relation) {
		this.relation = relation;
	}


	@Override
	public String toString() {
		return "Condition [property=" + property + ", values=" + values
				+ ", relation=" + relation + "]";
	}
	
	
	
	
	
}
